package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.pojo.ShoppingCart;

public interface ShoppingCartService {
    R add(ShoppingCart shoppingCart);

    R clean(Long userId);

    R list(Long userId);

    R sub(ShoppingCart shoppingCart,Long userId);
}
